import $http from '@/API/HTTP'
import { joinUrl } from '@/utils/utils'
// 新闻列表
export function newsListApi(data) {
  return $http.post(`${joinUrl}/news/list`, data)
}
// 新闻详情
export function newsDetailApi(data) {
  return $http.post(`${joinUrl}/news/detail`, data)
}
